# $Id: PKGBUILD 83541 2013-02-02 14:56:35Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Hugo Ideler <hugoideler@dse.nl>

pkgname=pystatgrab
pkgver=0.5
pkgrel=6
pkgdesc="Python bindings for libstatgrab"
arch=('i686' 'x86_64')
url="http://www.i-scream.org/pystatgrab"
license=('GPL')
depends=('python2' 'libstatgrab')
source=(ftp://ftp.uk.i-scream.org/pub/i-scream/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('f6a0b4a2dca70f346b8bbbd705b8dc772dc4e8c7cde2b2b83c85eb65c4cfe1d8')

package() {
  cd ${srcdir}/$pkgname-$pkgver

  python2 setup.py build
  python2 setup.py install --prefix=${pkgdir}/usr
}
